/**
 *
 */
package dao.impl;

import dao.RecommendRecruitmentDao;
import domain.RecommendRecruitment;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by chen <chen@youjianghr.com> on 2015/7/11.
 *
 * @author chen <chen@youjianghr.com>
 */

@Repository
public class RecommendRecruitmentDaoImpl extends BaseGenericDao<RecommendRecruitment, Long>
        implements RecommendRecruitmentDao {

    /* (non-Javadoc)
    * @see dao.RecommendRecruitmentDao#getAllRecommendRecruitmentWithDesc()
    */
    @Override
    public List<RecommendRecruitment> getAllRecommendRecruitmentWithDesc() {
        Map<String, Object> params = newMapBuilder().build();
        List<RecommendRecruitment> mthResult = queryList("get-with-priority-desc", params);
        return mthResult;
    }

}
